<?
if(!defined ('U_MOD'))
{
	echo"<meta http-equiv='refresh' content='0;url=/index.php'>";
	exit;
}

include 'topmenu.php';

$queryNavMain=mysql_query("SELECT * FROM ".$PortalPref.$amk." ORDER BY nav_order ASC");

$menuArrayAdmin = getMenuArrayAdmin($queryNavMain);

print '<table>';
print getMenuTreeAdmin($menuArrayAdmin, 0, 0);
print '</table>';
?>